﻿package org.FaPe3D.core.commander
{
	import com.adobe.serialization.json.*;
	
	import org.FaPe3D.Adapter;
	import org.FaPe3D.core.events.EventManager;
	import org.FaPe3D.utils.PathList;
	import org.papervision3d.events.FileLoadEvent;
	

	public class Events extends EventManager
	{
		public function Events()
		{
		}
		
		public function FPMoveCameraByPathList(e:*, id:String, pl:String):void
		{
			Adapter.getAdapter(id).cameras.moveCameraByPath(Adapter.getAdapter(id).cameras.getDefaultCamera(), new PathList(pl));
		}
		
		public function FPMagicalMove(e:*, id:String, pl:Array,speed:Array):void
		{
			Adapter.getAdapter(id).cameras.magicalMoveCameraByPath(Adapter.getAdapter(id).cameras.getDefaultCamera(), pl,0, speed);
		}
		
		public function FPTrace(e:*, id:String, str:*=''):void
		{
			trace(str);
		}
		
	}
}